import Bar from "@/components/Bar";
import Chart from "@/components/Chart";
import "./index.scss";

export default function Home() {
  return (
    <div style={{display: "flex"}}>
      {/* 渲染Bar组件 */}
      <Bar 
        title="主流框架使用满意度" 
        xData={["react", "vue", "angular"]} 
        yData={[50, 60, 20]}
        style={{width: "520px", height: "450px"}}
      />
       <Chart />
    </div>
  );
}
